package com.nuanshui.heatedloan.credit.model;

import javax.xml.bind.annotation.*;

/**
 * Created by wangxw on 2017/7/2.
 */
@XmlRootElement(name="subatm")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(propOrder = { "application", "version", "sendTime","transCode","channelId",
                       "channelOrderId","phone","returnUrl","linkedMerchantId","authCode",
                        "name","idCard","type","certNo"})
public class Subatm {

    @XmlElement(name="application")
    private  String application;   //应用的名称       公用

    @XmlElement(name="version")
    private String version;   //版本                  公用

    @XmlElement(name="sendTime")
    private String sendTime;   //发送时间             公用

    @XmlElement(name="transCode")
    private String transCode;   //交易码              公用

    @XmlElement(name="channelId")
    private String channelId;   //通道的id            公用

    @XmlElement(name="channelOrderId")
    private String channelOrderId;  //通道订单的id    公用

    @XmlElement(name="phone")
    private String phone   ;       //手机号          手机认证独用

    @XmlElement(name="name")
    private String name;    //姓名                    公用

    @XmlElement(name="idCard")
    private String idCard;    //身份证号             手机认证独用

    @XmlElement(name="type")
    private String type;   //运营商类型  1  移动  2  电信  3  联通    手机认证独用

    @XmlElement(name="returnUrl")
    private String returnUrl;      //返回的地址      芝麻认证独用

    @XmlElement(name="linkedMerchantId")
    private String linkedMerchantId;   //商户地址    芝麻认证独用

    @XmlElement(name="authCode")
    private String authCode;     //授权类型    芝麻认证独用

    @XmlElement(name="certNo")
    private String certNo;    //身份证号码    芝麻认证独用   坑爹的翰迪  一个字段  不同接口名称不一样  所有这里也要不一样


    public String getApplication() {
        return application;
    }

    public void setApplication(String application) {
        this.application = application;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getTransCode() {
        return transCode;
    }

    public void setTransCode(String transCode) {
        this.transCode = transCode;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getChannelOrderId() {
        return channelOrderId;
    }

    public void setChannelOrderId(String channelOrderId) {
        this.channelOrderId = channelOrderId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getReturnUrl() {
        return returnUrl;
    }

    public void setReturnUrl(String returnUrl) {
        this.returnUrl = returnUrl;
    }

    public String getLinkedMerchantId() {
        return linkedMerchantId;
    }

    public void setLinkedMerchantId(String linkedMerchantId) {
        this.linkedMerchantId = linkedMerchantId;
    }

    public String getAuthCode() {
        return authCode;
    }

    public void setAuthCode(String authCode) {
        this.authCode = authCode;
    }

    public String getCertNo() {
        return certNo;
    }

    public void setCertNo(String certNo) {
        this.certNo = certNo;
    }
}
